package org.flashamaphone.voices.envelope
{
	public class LinearEnvelope extends Envelope
	{
		public function LinearEnvelope(start:Number=1, end:Number=1)
		{
			super(start, end);
		}
		
		/** 
		 * step to next point in envelope, convert data
		 * 
		 * @param value
		 * @return converted data point
		 */
		public override function step(value:Number):Number {
			return super.step(value) * (startValue + _current_step);
		}
	}
}